package cn.edu.sgu.www.mhxysy.mapper.chongwu_equipment;

import cn.edu.sgu.www.mhxysy.entity.chongwu_equipment.ChongwuEquipmentViewAttribute;
import cn.edu.sgu.www.mhxysy.entity.except.Property;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface ChongwuEquipmentViewAttributeMapper extends BaseMapper<ChongwuEquipmentViewAttribute> {

    /**
     * 通过宠物装备类型ID查询宠物装备预览属性
     * @param equipmentId 宠物装备类型ID
     * @return List<Property>
     */
    List<Property> selectByEquipmentId(@Param("equipmentId") Integer equipmentId);
}